package org.ui 
{
	import flash.display.Sprite;
	import flash.events.MouseEvent;
	
	/**
	 * ...
	 * @author TianYu
	 */
	public class Card extends Sprite 
	{
		
		private var _showed:Boolean = false;
		private var _clicked:Boolean = false;
		private var _flaged:Boolean = false;
		protected var shell:Sprite;
		protected var _type:int = 0; // 1230 1行第23个空 2263 2行第26个数字3 4369 4行第36个雷
		
		public function Card() 
		{
			
		}
		
		
		public function get showed():Boolean 
		{
			return _showed;
		}
		
		public function set showed(value:Boolean):void 
		{
			_showed = value;
			shell.visible = !_showed;
		}
		
		public function get type():int 
		{
			return _type;
		}
		
		public function set type(value:int):void 
		{
			_type = value;
		}
		
		public function get clicked():Boolean 
		{
			return _clicked;
		}
		
		public function set clicked(value:Boolean):void 
		{
			_clicked = value;
		}
		
		public function get flaged():Boolean 
		{
			return _flaged;
		}
		
		public function set flaged(value:Boolean):void 
		{
			_flaged = value;
		}
		
	}

}